package cn.hl.system.service.impl;

import cn.hl.basic.service.impl.BaseServiceImpl;
import cn.hl.system.domain.DictionaryType;
import cn.hl.system.mapper.DictionaryTypeMapper;
import cn.hl.system.service.IDictionaryTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DictionaryTypeServiceImpl extends BaseServiceImpl<DictionaryType> implements IDictionaryTypeService {

    @Autowired
    private DictionaryTypeMapper dictionaryTypeMapper;

    @Override
    public void deleteDetail(Long id) {
        dictionaryTypeMapper.deleteDetail(id);
    }

    @Override
    public void deleteDetails(List<Long> id) {
        dictionaryTypeMapper.deleteDetails(id);
    }
}
